import axios from 'axios'
import getMethods from './methods'
import { setOptions } from './options'

var noop = function () {}

var instance = function () {
  return {
    init: function (options) {
      var Options = setOptions(options);
      this.methods = getMethods(Options);
    },
    methods: noop
  }
}

export default new instance();
